package com.sunshine.androidjavapractise.pattern.observer;

public class Observer2 implements Observer {
    public Observer2(Subject subject) {
        subject.registerObserver(this);
    }
    @Override
    public void update(String msg) {

        System.out.println("Observer" + " Observer2 msg " + msg);

    }
}
